package com.hs.communication.common.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 充电桩信息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Charger {
    @TableId
    private String sn;
    private String name;
    private String address;
    private String status;
    /**
     * 离线/上线时间
     */
    private LocalDateTime offOnlineTime;
    @TableLogic
    private boolean isDeleted;
}
